<img src="foo" srcset="bar">
<script>
  document.querySelector("img").removeAttribute('src');
</script>
